//
//  YDBuySelectedRateView.h
//  PeiZiWangBei
//
//  Created by LK-IOS on 2017/11/15.
//  Copyright © 2017年 LK-IOS. All rights reserved.
//

#import <UIKit/UIKit.h>

@class YDBuySelectedRateView;


@protocol SYBuySelectedRateViewDelegate <NSObject>

@optional

/**
 点击了退出按钮按钮
 */
-(void)buySelectedRateViewDismissButtonClick;

/**
 点击回调比率
 */
- (void)didSelectedRateString:(NSString *)rateStr;


@end



@interface YDBuySelectedRateView : UIView

@property (nonatomic , weak)id<SYBuySelectedRateViewDelegate>delegate;


@property (nonatomic , strong) NSMutableArray *modelArray;

@property (nonatomic, copy)NSString *currentLoseRate;

//初始化
+(instancetype)buySelectedRateViewWithModelArray:(NSMutableArray *)modelArray;

@end
